SolidStart v2 separation#1557
Conversation
…g, data mutation, overview, and getting started
… and HTTP handling components
|
|
✅ Deploy Preview for solid-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
There's a lack of reference to seroval's supported data types. We probably need to reference it or at least, provide the list of the supported types.
There was a problem hiding this comment.
Do you mind adding it to this PR?
| export async function logMessage(message: string) { | ||
| console.log(message); | ||
| } | ||
| ``` |
There was a problem hiding this comment.
we might want to make a note that you don't want to use file level directives when using query as know that trips people up. You just want the inner function to use server
"use server";
export const logMessage = query(async (message: string) =>, {
console.log(message);
}, 'log-message');
brenelz
left a comment
There was a problem hiding this comment.
Overall looks really good. A few comments/questions
Do you mind updating with the information that you pointed out? |
Separate SolidStart v1 and v2 docs
Establishes a clean v1/v2 boundary for the SolidStart docs using the existing SolidBase versioning model. All v1 content stays under
src/routes/solid-start; verified v2 content lives only undersrc/routes/v2/solid-start, with matching slugs so the version selector switches between equivalents.Boundary
v2/solid-start, and removed it from the unversioned tree.data-fetching,data-mutation) asversion: "1.0"./v2/solid-startsidebar invite.config.ts.New v2 pages
Guides: overview, getting started, routing, API routes, data fetching, data mutation, serialization (CSP). Reference:
"use server",GET,HttpHeader,HttpStatusCode,createMiddleware,getServerFunctionMeta,FileRoutes,clientOnly.All written from verified
@solidjs/start@2.0.0-alpha.3package evidence (solidStart()config,@solidjs/start/http, H3 middleware arrays,jsonserialization default). Cross-linked to Solid Router and core references.